﻿using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.AspNetCore.Mvc;

namespace Microsoft.Extensions.DependencyInjection
{
    public static class AppsAuthExtension
    {
        public static IServiceCollection AddAppAuthorization(this IServiceCollection serviceDescriptors)
        {
            return serviceDescriptors
                  .AddAuth<AdminToken>();
        }
    }
}
